package 设计模式.工厂方法;

public class Test {
    public static void main(String[] args) {
        final Course javaCourse = new JavaCourseFactory().getCourse();
        javaCourse.make();

        final Course pythonCourse = new PythonCourseFactory().getCourse();
        pythonCourse.make();
    }
}
